﻿.image-list-main .image-preview-container {
    height: 100%;
}

.image-list-main .image-list-editor {
    position: relative;
}

    .image-list-main .image-list-editor .empty-text {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        font-size: 18px;
        opacity: 0.3;
        user-select: none;
        pointer-events: none;
    }

    .image-list-main .image-list-editor .dx-scrollview-content {
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        min-height: 100px;
        overflow: auto;
        padding: 0 10px 10px 0;
    }

    .image-list-main .image-list-editor .image-item {
        position: relative;
        width: 130px;
        height: 100px;
        margin: 4px 0 0 4px;
        border: 2px solid #ccc;
    }

        .image-list-main .image-list-editor .image-item.clone {
            display: none;
        }

        .image-list-main .image-list-editor .image-item.selected {
            border: 2px solid #e74c3c;
        }

        .image-list-main .image-list-editor .image-item > .image {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .image-list-main .image-list-editor .image-item > .image-number {
            position: absolute;
            font-size: 13px;
            font-weight: bold;
            right: 3px;
            top: 3px;
            min-width: 20px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            background-color: #2c3e50;
            color: #ecf0f1;
            border-radius: 20px;
            -webkit-user-drag: none;
        }

        .image-list-main .image-list-editor .image-item > .image-position {
            position: absolute;
            font-size: 12px;
            left: 2px;
            top: 2px;
            max-width: calc(100% - 8px);
            overflow: hidden;
            white-space: nowrap;
            color: #ecf0f1;
            padding: 0 4px;
            border-radius: 4px;
            background-color: #2980b9;
            cursor: pointer;
            -webkit-user-drag: none;
        }

            .image-list-main .image-list-editor .image-item > .image-position.empty {
                background-color: #d35400;
            }

        .image-list-main .image-list-editor .image-item > .image-description {
            position: absolute;
            font-size: 12px;
            left: 2px;
            bottom: 2px;
            max-width: calc(100% - 4px);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #ecf0f1;
            padding: 0 4px;
            border-radius: 4px;
            background-color: #7f8c8d;
            cursor: pointer;
            -webkit-user-drag: none;
        }

        .image-list-main .image-list-editor .image-item > .image-unstore-flag {
            position: absolute;
            left: 2px;
            bottom: 2px;
            width: 10px;
            height: 10px;
            background-color: #e74c3c;
            border-radius: 10px;
            -webkit-user-drag: none;
        }

.image-list-main .report-image-list-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.image-list-main .image-list-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.image-list-main .image-preview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .image-list-main .image-preview-container .image-preview {
        flex: 1;
        margin: 10px;
    }

.image-list-main .dx-toolbar {
    border-bottom: 1px solid #eee;
}

.image-list-main .image-list-toolbar {
    padding-right: 5px;
}

.image-list-main .dx-toolbar-items-container {
    height: 36px;
}

.image-list-main .dx-toolbar-item .dx-button-content {
    padding-left: 6px;
    padding-right: 6px;
}

.image-list-goto-top .dx-icon {
    transform: rotate(180deg)
}
